﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using BLL;
using Model;
namespace MengQiqiService.Controllers
{
    public class OtherStockController : ApiController
    {
        OtherStock_BLL bll = new OtherStock_BLL();
        public int Add(OtherStock_tb model)
        {
            return bll.Add(model);
        }

        public int Upt(OtherStock_tb model)
        {
            return bll.Upt(model);
        }

        public int Del(object id)
        {
            return bll.Del(id);
        }

        public List<OtherStock_tb> GetData()
        {
            return bll.GetData();
        }
    }
}